<!-- 废弃掉一期的样式，全新的样式 -->
<template>
    <view class="nova-column box" v-if="owner">
        <text class="title">雇主信息</text>
        <view class="nova-column" v-for="(item, index) in owner" :key="index">
            <view v-if="index > 0" style="background-color: #C0C0C0; margin: 30rpx 0;">
            </view>
            <text class="line">姓名： {{ item.name }}</text>
            <!-- <text class="line">年龄： {{ item.age }}</text> -->

            <text class="line">小区： {{ item.village }}</text>
            <view class="nova-row-center" v-if="item.authentication">
                <view class="tag" v-for="v in item.authentication" :key="v">{{ v.type }}</view>
            </view>
        </view>
    </view>
</template>

<script>
export default {
    name: 'c-employees',
    props: {
        owner: {
            type: Object,
            default: () => []
        }
    },
    data() {
        return {
            
        };
    },
    created() {
        
    }
};
</script>

<style lang="scss">
.box {
    padding: 20rpx 34rpx;
    .title {
        font-size: 30rpx;
        color: #333;
        padding-bottom: 20rpx;
    }
    .line {
        font-size: 26rpx;
        color: #999;
        line-height: 40rpx;
    }
    .tag {
        border-radius: 10rpx;
        font-size: 22rpx;
        color: $uni-color-primary;
        height: 36rpx;
        line-height: 36rpx;
        margin-right: 24rpx;
        padding: 0 10rpx;
        border: 1rpx solid $uni-color-primary;
    }
}
</style>
